< previous page page_306 next page >

Page 306
to Nothing and is not in memory. Knowing this information makes it easier to move from one process to another, whether the next process is owned by the workgroup or not.
Incorporating the Subsystem into the Samsona Bank Teller System Example
Implementing the class for this subsystem requires some work, but you assure your client at the Second Bank of Carrollton that it's no problem. You brief your developers on the steps necessary to complete this transformation. You instruct the developers to do the following:
1. Add the CSession, AccountTransactionsGroup, BankTellerRole, and RegularAccountManagerRole classes and the other class in Figure 13.3 to the project. Add the methods and properties mentioned earlier.
2. Add two modules, modMain and modWorkflow.
3. Move the declarations for the following controller classes to the BankTellerRole class: CancelTransaction, CheckAccountStatus, DepositFunds, WithdrawFunds. This is done so that the corresponding forms are represented as tasks owned by the BankTellerRole class. This, in turn, makes it more convenient to localize changes and impacts associated with these forms to the proper role.
4. Move the declarations for the following controller classes to the RegularAccountManagerRole class: CancelTransaction, CheckAccountStatus, CloseAccount, DepositFunds, OpenAccount, WithdrawFunds.
5. Add the following forms to the AllForms collection property of AllForms collection property of BankTellerRole: frmDeposit, frmWithdraw, frmCashDepositRecord, frmCancelTransaction, frmCheckAccountStatus.
6. Add the following forms to the AllForms collection property of RegularAccountManagerRole: frmDeposit, frmWithdraw, frmCashDepositRecord, frmCancelTransaction, frmCheckAccountStatus, frmOpenAccount.
7. In the MDI form, frmMDI, create a menu with items that reflect the names of the forms in steps 5 and 6. Have only one main menu item, Processes. Have two submenu items, Bank Teller and Regular Account Manager. For the Bank Teller menu, have submenus that have names that closely match the names of respective forms in step 5. Do likewise for the Regular Account Manager menu with respect to step 6.

 
< previous page page_306 next page >

If you like this book, buy it!